<template>
	<view v-html="content">

	</view>
</template>

<script setup>
	import {
		onLoad
	} from '@dcloudio/uni-app'
	import {
		getdict
	} from '@/common/http.api.js'
	import {
		ref
	} from 'vue'
	const content = ref('')
	onLoad((option) => {
		getdict(option.id).then(res => {
			uni.setNavigationBarTitle({
				title: res.data.title
			})
			content.value = res.data.content
		})
	})
</script>

<style>
	page {
		width: 100%;
		padding: 20rpx;
		font-size: 30rpx;
		box-sizing: border-box;
	}
</style>